use std::sync::Arc;

use super::{event_container::EventContainer, service_container::ServiceContainer};

pub struct ServiceAppDesktop {
    pub(crate) service_container: Arc<ServiceContainer>,
    pub(crate) event_container: Arc<EventContainer>,
}

impl ServiceAppDesktop {
    pub fn new(service_container: ServiceContainer, event_container: EventContainer) -> Self {
        Self {
            service_container: Arc::from(service_container),
            event_container: Arc::from(event_container),
        }
    }
}
